<?php 
global $_W,$_GPC;

$tid = intval($_GPC['tid']);

$sql = "SELECT * FROM ".tablename('imeepos_runner3_paylog')." WHERE id = :id";
$params = array(':id'=>$tid);
$paylog = pdo_fetch($sql,$params);

$params = array();
$params['tid'] = $paylog['tid'];
$params['ordersn'] = $paylog['tid'];
$params['fee'] = floatval($paylog['fee']);
$params['title'] = "跑腿认证支付";
$params['user'] = $_W['openid'];

$this->pay($params,array());
exit();